﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    [Serializable]
    [EntityMapping(TableName = "LinkFile")]
    public class LinkFile
    {
        [EntityMapping(IsKey = true, ColumnName = "LinkFileID")]
        public string LinkFileID { get; set; }

        /// <summary>
        /// 关联的ID
        /// </summary>
        [EntityMapping(ColumnName = "LinkID")]
        public string LinkID { get; set; }


        /// <summary>
        /// 文件标题
        /// </summary>
        [EntityMapping(ColumnName = "Title")]
        public string Title { get; set; }

        /// <summary>
        /// 文件类型
        /// </summary>
        [EntityMapping(ColumnName = "Type")]
        public string Type { get; set; }

        /// <summary>
        /// 文件路径
        /// </summary>
        [EntityMapping(ColumnName = "FilePath")]
        public string FilePath { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        [EntityMapping(ColumnName = "FileName")]
        public string FileName { get; set; }

        /// <summary>
        /// 文件全路径
        /// </summary>
        [EntityMapping(ColumnName = "FullFileName")]
        public string FullFileName { get; set; }

        /// <summary>
        /// 上报状态
        /// </summary>
        [EntityMapping(ColumnName = "ReportState")]
        public string ReportState { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [EntityMapping(ColumnName = "UserName")]
        public string UserName { get; set; }
    }
}
